﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TlToolCordCreate.Web
{
    /// <summary>
    /// 添加表请求
    /// </summary>
    public class DbTableInput
    {
        public string ConfigId { get; set; }

        public string TableName { get; set; }

        public string Description { get; set; }

        public List<DbColumnInput> DbColumnInfoList { get; set; }
    }
    public class DbColumnInput
    {
        public string ConfigId { get; set; }

        public string TableName { get; set; }

        public string DbColumnName { get; set; }

        public string DataType { get; set; }

        public int Length { get; set; }

        public string ColumnDescription { get; set; }

        public int IsNullable { get; set; }

        public int IsIdentity { get; set; }

        public int IsPrimarykey { get; set; }

        public int DecimalDigits { get; set; }
    }
}
